home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / sys / dos / djgpp / cf / initdemo.i < prev    next >
Encoding:
Text File  |  1994-08-10  |  981 b   |  45 lines

  1. # -----------------------------------------------------------------------
  2. # $Id: initdemo.in,v 1.1 1994/08/10 01:08:18 mjl Exp $
  3. #
  4. # Maurice LeBrun
  5. # IFS, University of Texas at Austin
  6. # 24-Jul-1994
  7. #
  8. # Initializations for building PLplot demo programs.
  9. # Only used in standalone demo Makefile.
  10. # -----------------------------------------------------------------------
  11.  
  12. # Miscellaneous variables set by configure.
  13.  
  14. CC_FLAGS_DEMOS    = -c -O -I$(INCLUDE_DIR2) -I.
  15.  
  16. # This is intentionally NOT set.
  17.  
  18. PLLIBS        =
  19.  
  20. # These are what we link against.
  21.  
  22. PLLIB_LDC    = -L$(LIB_DIR2) -lplplt$(LIB_TAG)
  23. PLLIB_LDF    = -L$(LIB_DIR2) -lplplt$(LIB_TAG)
  24.  
  25. # Default is to build every demo program.
  26.  
  27. everything: cdemos fdemos tkdemos
  28.  
  29. # Clear the suffix list to prevent problems.
  30.  
  31. .SUFFIXES:
  32. .SUFFIXES: $O .cc .c .f .h
  33.  
  34. # Inference rules.
  35.  
  36. .c$O:
  37.     $(CC) $(CC_FLAGS_DEMOS) $*.c
  38.  
  39. .f$O:
  40. #    $(F77) $(F77_FLAGS) $*.f
  41.     f2c -A $*.f
  42.     $(CC) $(CC_FLAGS_DEMOS) $*.c
  43.     del $*.c
  44.  
  45.